home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 January / macformat46.iso / Shareware Plus / Developers / Library / AVF 1.1 Pack / AVF 1.1 pack ƒ folder / AVF 1.1 pack ƒ / headers / AsyncBuffer.h next >
Encoding:
Text File  |  1996-09-29  |  848 b   |  24 lines

  1. // ---------------------------------------------------------------------------
  2. //        • AVF 1.1 - Asynchronous Video Framework
  3. //      • 
  4. //      • Philippe Lang, 1733 Treyvaux, SWITZERLAND
  5. //      • plang@com.mcnet.ch
  6. // ---------------------------------------------------------------------------
  7.  
  8. #pragma once
  9.  
  10. #include "VideoSession.h"
  11. #include "OffscreenWorld.h"
  12. #include "OffscreenGroup.h"
  13.  
  14. enum AsyncBufferErr { NoOffWorld, NewHandleErr, HLockErr, VDGetDigitizerRectErr, VDPreflightDestinationErr, HUnlockErr, VDSetupBuffersErr, VDSetPlayThruDestinationErr, VDReleaseAsyncBuffersErr };
  15.  
  16. class AsyncBuffer {
  17. public:
  18.     AsyncBuffer( VideoSession* inSessionP, OffscreenGroup* inOffGroupP ) throw ( AsyncBufferErr );
  19.     ~AsyncBuffer() throw ( AsyncBufferErr );
  20.     
  21. protected:
  22.     VdigBufferRecListHandle        mBufferListH;
  23.     VideoDigitizerComponent        mVdigComp;
  24. };